import turtle #导入 海龟作图模块 turtle
t=turtle.Pen()
t.speed(0)
turtle.bgcolor("black")
colors=["red","blue","green","skyblue","yellow","#454545"]
for x in range(1000):
    t.pencolor(colors[x%len(colors)])
    t.fd(x)
    t.left(61)
    t.pensize(5*x/300)
